package solvers;

public class LeaderSolver {
	public static LeaderResult solve(int[] x, int[] w, int p) {
		LeaderResult result = new LeaderResult();
		
		result.income = 0;
		for (int i = 0; i < x.length; i++) {
			result.income += x[i] * w[i];
		}
		
		result.x = x;
		
		return result;
	}
}
